package com.qf.dao;

import com.qf.user.TbUser;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author H
 * @create 2020-11-12 16:14
 * @strive To be whoever you want to be.
 * @Description:
 */
public interface UserRespository2 extends JpaRepository<TbUser, Integer> {

    TbUser findByLoginNameAndPassword(String loginName, String password);

    TbUser findByLoginName(String loginName);
}

